export interface UserTemp {
    img?: string;
    user_id?: number;
    user_ids?: number[];
    display?: string;
    disabled?: boolean;
    password?: string;
    email_code?: string
    email?: string;
    is_admin?: boolean;

}

export interface UserInfo extends UserTemp {
    balance?: number;
    create_time?: string;
    is_admin: boolean;
    email: string;
    display: string;

}

export interface UserDetail {
    user_id: number;
    img: string;
    friends_ids: Map<number, any>;
    game_ids: Map<number, number>;
    wish_list: Map<number, string>;
}

export enum GamePrefer {
    GamePrefer_GamePreferStar1 = 0,
    GamePrefer_GamePreferStar2 = 1,
    GamePrefer_GamePreferStar3 = 2,
    GamePrefer_GamePreferStar4 = 3,
    GamePrefer_GamePreferStar5 = 4,
}
